import request from '@/utils/request'

// 分页查询培训机构列表
export function getMtBasketballTeamList(query) {
  return request({
      url: 'backendApi/mtBasketballTeam/list',
      method: 'get',
      params: query
  })
}




// 新增培训机构
export function saveSetting(data) {
  return request({
    url: 'backendApi/mtBasketballTeam/save',
    method: 'post',
    data: data
  })
}

// 更新培训机构
export function update(data) {
  return request({
      url: 'backendApi/mtBasketballTeam/update',
      method: 'post',
      data: data
  })
}

// 删除培训机构
export function deleteMtBasketballTeam(id) {
  return request({
    url: 'backendApi/mtBasketballTeam/delete/' + id,
    method: 'post'
  })
}

export function getMtBasketballTeamfor(id){
  return request({
    url: 'backendApi/mtBasketballTeam/info/' + id,
    method: 'get'
 })
}


